package com.ruoyi.operation.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程信息对象 lesson_info
 *
 * @author ruoyi
 * @date 2025-05-12
 */
public class LessonInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 账号 */
    @Excel(name = "账号")
    private String zh;

    /** 课程 */
    @Excel(name = "课程")
    private String kc;

    /** 课程id */
    @Excel(name = "课程id")
    private String kcid;

    /** 学习时长 */
    @Excel(name = "学习时长")
    private String xxsc;

    /** 学习次数 */
    @Excel(name = "学习次数")
    private String xxcs;

    /** 课程状态 */
    @Excel(name = "课程状态")
    private String kczt;

    /** 详细信息 */
    @Excel(name = "详细信息")
    private String xx;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date cjsj;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date gxsj;

    /** 用户id */
    @Excel(name = "用户id")
    private Long yhid;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setZh(String zh)
    {
        this.zh = zh;
    }

    public String getZh()
    {
        return zh;
    }

    public void setKc(String kc)
    {
        this.kc = kc;
    }

    public String getKc()
    {
        return kc;
    }

    public void setKcid(String kcid)
    {
        this.kcid = kcid;
    }

    public String getKcid()
    {
        return kcid;
    }

    public void setXxsc(String xxsc)
    {
        this.xxsc = xxsc;
    }

    public String getXxsc()
    {
        return xxsc;
    }

    public void setXxcs(String xxcs)
    {
        this.xxcs = xxcs;
    }

    public String getXxcs()
    {
        return xxcs;
    }

    public void setKczt(String kczt)
    {
        this.kczt = kczt;
    }

    public String getKczt()
    {
        return kczt;
    }

    public void setXx(String xx)
    {
        this.xx = xx;
    }

    public String getXx()
    {
        return xx;
    }

    public void setCjsj(Date cjsj)
    {
        this.cjsj = cjsj;
    }

    public Date getCjsj()
    {
        return cjsj;
    }

    public void setGxsj(Date gxsj)
    {
        this.gxsj = gxsj;
    }

    public Date getGxsj()
    {
        return gxsj;
    }

    public void setYhid(Long yhid)
    {
        this.yhid = yhid;
    }

    public Long getYhid()
    {
        return yhid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("zh", getZh())
                .append("kc", getKc())
                .append("kcid", getKcid())
                .append("xxsc", getXxsc())
                .append("xxcs", getXxcs())
                .append("kczt", getKczt())
                .append("xx", getXx())
                .append("cjsj", getCjsj())
                .append("gxsj", getGxsj())
                .append("yhid", getYhid())
                .toString();
    }
}
